package com.neusoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.entity.ArticleQueryCondition;
import com.neusoft.entity.ArticlesEntity;
import com.neusoft.vo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ArticleMapper extends BaseMapper<ArticlesEntity> {
    List<Article> getAllArticles(ArticleQueryCondition articleQueryCondition);
    Article getArticleById(@Param("uid") long uid, @Param("axid") long aid);
//    int createArticle(ArticlesEntity articlesEntity);
}
